package com.yxw.yx_hotel.dto;

import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author liuxin
 * @date 2023.0913
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="QueryStayWaitDto", description="待住查询Dto")
public class QueryStayWaitDto extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "员工姓名")
    private String userName;
    
    @ApiModelProperty(value = "员工状态")
    private Integer userState;
    
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "宿舍名称")
    private String roomName;

    @ApiModelProperty(value="申请时间始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createStartTime;

    @ApiModelProperty(value="=申请时间止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createEndTime;
}
